function addMeMix1(key) {
	var grid = Ext.getCmp(key);

	var tbar = grid.getTopToolbar();
	tbar.add('-', {
				text : '不予受理',
				iconCls : 'ftno',
				handler : function() {
					doSlno();
				}
			}

	);

	/**
	 * 不受理
	 * 
	 */
	function doSlno() {
		var m = grid.getSelectionModel().getSelections();
		var ids;

		var label = '确定不予受理';

		if (m.length > 0) {
			Ext.MessageBox.confirm('确认', label, function(btn) {
						doFtAction(btn, -2);
					}, this);
		} else {
			Ext.MessageBox.alert('提示', '请选择来信案件！');
		}

	}

	function doFtAction(btn, status) {
		if (btn == 'yes') {
			var url = context + '/app/lxbl.do?method=deal';

			var m = grid.getSelectionModel().getSelections();
			for (var i = 0, len = m.length; i < len; i++) {
				if (i == 0) {
					ids = m[i].get('ID');
				} else {
					ids += ',' + m[i].get('ID');
				}
			}
			Ext.Ajax.request({
						// 请求地址
						url : url,
						params : {
							id : ids,
							BLSTATUS : status
						},
						// 成功时回调
						success : function(response, options) {
							// 获取响应的json字符串
							Ext.MessageBox.hide();

							var json = response.responseText;
							var o = Ext.util.JSON.decode(json);

							if (o.success) {
								Ext.Msg.alert('提示', '提交处理成功！');
								reload();
							} else {
								Ext.Msg.alert('提示', '提交处理失败！');
							}
						}
					});
		}
	}
}

/**
 * render column overwrite querylist4ext.js
 * 
 * @param {}
 *            value
 * @param {}
 *            cellmeta
 * @param {}
 *            record
 * @param {}
 *            rowIndex
 * @param {}
 *            columnIndex
 * @param {}
 *            store
 * @return {}
 */
function renderHeader(value, cellmeta, record, rowIndex, columnIndex, store) {
	var fieldName = Ext.getCmp(querykey).getColumnModel()
			.getDataIndex(columnIndex);
	if (fieldName == 'OPEN') {
		var resultString = String.format('<b><a href="' + context
						+ '/app/lxbl.do?method=edit&id={0}&querykey='
						+ querykey + '">查阅</a></b>', record.data.ID, value);

		return resultString;
	} else if (fieldName == 'XFTIME' || fieldName == 'XJTIME') {
		return formatDate(value);
	} else if (fieldName == 'LXSTATUS') {
		if (value == '0') {
			return '<center>否</center>';
		} else if (value == '1') {
			return '<center>是</center>';
		}
	} else if (fieldName == 'BLSTATUS') {
		if (value == '0') {
			return '待处理';
		} else if (value == '1') {
			return '自处理';
		} else if (value == '2') {
			return '科室办理';
		} else if (value == '3') {
			return '上报处理';
		} else if (value == '-1') {
			return '未予办理';
		}
	}
	return value;
}